package com.emm.yixun.openapi.hander;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emm.yixun.common.app.QueryProjectRoomInfoListReqDto;
import com.emm.yixun.common.app.QueryProjectRoomInfoListResDto;
import com.emm.yixun.openapi.dto.base.BaseRequestDTO;
import com.emm.yixun.openapi.dto.base.BaseResponseDTO;
import com.emm.yixun.openapi.vo.QueryProjectRoomInfoListReqVo;
import com.emm.yixun.estate.service.ProjectRoomServiceFacade;

/**
 * “回来了社区” 新增接口
 * 
 * （6）房产信息增量接口(queryProjectRoomInfoList)
 * @author liujunze
 *
 */
@Service("queryProjectRoomInfoListHander")
public class QueryProjectRoomInfoListHander extends com.emm.yixun.openapi.hander.base.CommonAbstractHander{
	
	@Autowired
	private ProjectRoomServiceFacade projectRoomServiceFacade;
	
	@SuppressWarnings("rawtypes")
	@Override
	public BaseResponseDTO doBusiness(BaseRequestDTO reqDto) {
		QueryProjectRoomInfoListReqVo req = (QueryProjectRoomInfoListReqVo)reqDto;
		QueryProjectRoomInfoListReqDto reqDto1 = req.getParams();
		BaseResponseDTO<QueryProjectRoomInfoListResDto> res = new BaseResponseDTO<QueryProjectRoomInfoListResDto>();
		res.setResData(projectRoomServiceFacade.queryProjectRoomInfoPage(reqDto1));
		return res;
	}
	
}
